home *** CD-ROM | disk | FTP | other *** search
/ The Ultimate Frank Lloyd…ght - America's Architect / Ultimate Frank Lloyd Wright, The - America's Architect (1994)(Microsoft Home).iso / pre / flw / flwlt25.dir / 00029_Script_29 < prev    next >
Text File  |  1994-11-15  |  6KB  |  231 lines

  1. on startMovie
  2.   global inFrame, nowFrame, currMM
  3.   global dialogOn, nextLT, prevLT
  4.   cursor 4
  5.   set the preLoadRAM to 420
  6.   set prevLT = "FLWLT24"
  7.   set nextLT = ""
  8.   set dialogOn = FALSE
  9.   set currMM = "FLWMM"
  10.   set nowFrame = "ltfin955000°°°"
  11.   set inFrame = ""
  12.   puppetsprite 9, TRUE
  13.   puppetSprite 11, TRUE
  14.   puppetSprite 12, TRUE
  15.   set the immediate of sprite 11 to TRUE
  16.   set the immediate of sprite 12 to TRUE
  17.   puppetSprite 20, TRUE
  18.   puppetSprite 21, TRUE
  19.   puppetSprite 22, TRUE
  20.   puppetSprite 23, TRUE
  21.   set the immediate of sprite 20 to TRUE
  22.   set the immediate of sprite 23 to TRUE
  23. end startMovie
  24.  
  25. on stepMovie
  26.   global nowFrame,currFrame
  27.   if nowFrame <> currFrame then
  28.     seeAlsoList
  29.     set currFrame = nowFrame
  30.   end if
  31. end stepMovie
  32.  
  33. on stopMovie
  34.   put " " into field "seeAlsoText"
  35.   set the castNum of sprite 21 to 1050
  36.   puppetSprite 21, FALSE
  37.   updateStage
  38. end stopMovie
  39.  
  40. on saveLocals
  41.   global lastFrame, nowFrame, lastMovie, origLocH
  42.   set lastMovie = the movie
  43.   set lastFrame = nowFrame
  44. end saveLocals
  45.  
  46. on ltForStep
  47.   global inFrame, nextLT, ltQT
  48.   puppetSprite 4, FALSE
  49.   set ltQT = FALSE
  50.   set inFrame = ""
  51.   if the frame = label (line (the number of lines in the labellist - 1) of the labellist) then
  52.     --go to movie nextLT
  53.     beep
  54.   else
  55.     go to marker (+1)
  56.     updateStage
  57.   end if
  58. end ltForStep
  59.  
  60. on ltBackStep
  61.   global inFrame, prevLT, ltQT
  62.   puppetSprite 4, FALSE
  63.   set ltQT = FALSE
  64.   set inFrame = ""
  65.   if the frame < 5 then
  66.     go to frame "ltfin952005°°°" of movie prevLT
  67.   else
  68.     go to marker (-1)
  69.     updateStage
  70.   end if
  71. end ltBackStep
  72.  
  73. on checkNav
  74.   if rollover(12) then
  75.     set the castNum of sprite 12 to the number of cast "leftUp"
  76.   else
  77.     set the castNum of sprite 12 to the number of cast "leftRt"
  78.   end if
  79.   
  80.   if not(the frame > 17) then
  81.     if rollover(11) then
  82.       set the castNum of sprite 11 to the number of cast "rightUp"
  83.     else
  84.       set the castNum of sprite 11 to the number of cast "rightRt"
  85.     end if
  86.   else
  87.     set the castNum of sprite 11 to the number of cast "rightRt"
  88.   end if
  89.   updateStage
  90.   cursor -1
  91. end checkNav
  92.  
  93. on buttonState
  94.   global FrankNav, bflag, nowFrame, noTx, dialogOn
  95.   
  96.   if dialogOn = FALSE then
  97.     
  98.     --sticking local call here for convenience
  99.     worldLite
  100.     if the mouseV > 200 or bFlag = TRUE then
  101.       set bFlag = FALSE
  102.       doState
  103.     end if
  104.   end if
  105. end buttonState
  106.  
  107. on scrollRight
  108.   if the clickon = 11 then
  109.     sound stop 1
  110.     startTimer
  111.     repeat while the timer < 2
  112.       set the castNum of sprite 11 to the number of cast "rightDn"
  113.       updateStage
  114.     end repeat
  115.     timeRight
  116.     flush
  117.   end if   
  118. end scrollRight
  119.  
  120. on scrollLeft
  121.   if the clickon = 12 then
  122.     sound stop 1
  123.     startTimer
  124.     repeat while the timer < 2
  125.       set the castNum of sprite 12 to the number of cast "leftDn"
  126.       updateStage
  127.     end repeat
  128.     timeLeft
  129.     flush
  130.   end if  
  131. end scrollLeft
  132.  
  133. on timeLeft
  134.   global prevLt
  135.   puppetSprite 4, FALSE
  136.   if the frame < 15 then
  137.     go to movie prevLT
  138.   else
  139.     go to frame "ltfin955000°°°"
  140.   end if 
  141. end timeLeft
  142.  
  143. on timeRight
  144.   global nextLt
  145.   puppetSprite 4, FALSE
  146.   if the frame < 15 then
  147.     go to frame "ltdoa959000u°°"
  148.   else
  149.     beep
  150.   end if
  151. end timeRight
  152.  
  153. on worldLite
  154.   if the frame < 15 then
  155.     if rollover(9) then
  156.       set the castNum of sprite 9 to 27
  157.     else
  158.       set the castNum of sprite 9 to 2
  159.     end if
  160.   end if
  161. end worldLite
  162.  
  163. on jumpVLB25
  164.   global dialogOn
  165.   if dialogOn = FALSE then
  166.     sound stop 1
  167.     if the clickOn < 7 or the clickOn > 23 then
  168.       if the mouseH > 168 and the mouseH < 271 and the mouseV > 137 and the mouseV < 225 then
  169.         puppetSprite 4, FALSE
  170.         go to frame "ltfin955001°°°"
  171.       else if the mouseH > 266 and the mouseH < 376 and the mouseV > 75 and the mouseV < 149 then
  172.         puppetSprite 4, FALSE
  173.         go to frame "ltfin955002°°°"
  174.       else if the mouseH > 299 and the mouseH < 429 and the mouseV > 164 and the mouseV < 225 then
  175.         puppetSprite 4, FALSE
  176.         go to frame "ltfin955003°°°"
  177.       else if the mouseH > 427 and the mouseH < 539 and the mouseV > 75 and the mouseV < 161 then
  178.         puppetSprite 4, FALSE
  179.         go to frame "ltfin955004°°°"
  180.         --        set the volume of sprite 15 to 255
  181.       else if the mouseH > 542 and the mouseH < 618 and the mouseV > 125 and the mouseV < 225 then
  182.         puppetSprite 4, FALSE
  183.         go to frame "ltfin955005°°°"
  184.       else 
  185.         nothing
  186.       end if 
  187.     end if
  188.   end if
  189.   flush
  190. end jumpVLB25
  191.  
  192. on rollVLB25
  193.   if the mouseH > 168 and the mouseH < 271 and the mouseV > 137 and the mouseV < 225 then
  194.     set the castNum of sprite 4 to 8
  195.     if the mouseDown then 
  196.       set the castNum of sprite 4 to 3
  197.     end if
  198.   else if the mouseH > 266 and the mouseH < 376 and the mouseV > 75 and the mouseV < 149 then
  199.     set the castNum of sprite 4 to 9
  200.     if the mouseDown then 
  201.       set the castNum of sprite 4 to 3
  202.     end if
  203.   else if the mouseH > 299 and the mouseH < 429 and the mouseV > 164 and the mouseV < 225 then
  204.     set the castNum of sprite 4 to 10
  205.     if the mouseDown then 
  206.       set the castNum of sprite 4 to 3
  207.     end if
  208.   else if the mouseH > 427 and the mouseH < 539 and the mouseV > 75 and the mouseV < 161 then
  209.     set the castNum of sprite 4 to 11
  210.     if the mouseDown then 
  211.       set the castNum of sprite 4 to 3
  212.     end if
  213.   else if the mouseH > 542 and the mouseH < 618 and the mouseV > 125 and the mouseV < 225 then
  214.     set the castNum of sprite 4 to 12
  215.     if the mouseDown then 
  216.       set the castNum of sprite 4 to 3
  217.     end if
  218.   else 
  219.     set the castNum of sprite 4 to 3
  220.   end if
  221.   updateStage    
  222. end rollVLB25
  223.  
  224. on jumpVLB26
  225.   if the mouseH > 394 and the mouseH < 719 and the mouseV > 150 and the mouseV < 188 then
  226.     go to frame "ltdoa959001°°°"
  227.   else 
  228.     nothing
  229.   end if
  230. end jump
  231.